
public class StringHash {
    public static void main(String[] args) {
        if (args.length == 0) {
            System.out.println("Usage: StringHash string1 string2 ...");
        } else {
            for (int i = 0; i < args.length; ++i) {
                System.out.println(args[i] + ": " + args[i].hashCode());
            }
        }
    }
}